package com.ys.controller.web.sys;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ys.service.sys.SysColService;

@Controller
@RequestMapping("/web/sys/sysCol")
public class WebSysColController {
	
	@Autowired
	private SysColService sysColService;

	/*
	 * 新增字段
	 */
	@GetMapping("/toAdd")
	public String toAdd(Model model, HttpServletRequest request, HttpServletResponse response, 
			Long sysMenuId){
		return sysColService.toAdd(model, sysMenuId);
	}
}
